package com.puao.dao;

import com.puao.bean.BallIn;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface BallInMapper {
    public BallIn selectOne(Integer period);

    public List<BallIn> selectAll(@Param("begin") Integer begin , @Param("end") Integer end);

    public Integer insertOrUpdate(List<BallIn> list);

    public Integer theSameOne(BallIn ball);


    public List<Map<String,Object>> red01(@Param("begin") Integer begin , @Param("end") Integer end);

    public List<Map<String,Object>> red02(@Param("begin") Integer begin , @Param("end") Integer end);

    public List<Map<String,Object>> red03(@Param("begin") Integer begin , @Param("end") Integer end);

    public List<Map<String,Object>> red04(@Param("begin") Integer begin , @Param("end") Integer end);

    public List<Map<String,Object>> red05(@Param("begin") Integer begin , @Param("end") Integer end);

    public List<Map<String,Object>> blue01(@Param("begin") Integer begin , @Param("end") Integer end);

    public List<Map<String,Object>> blue02(@Param("begin") Integer begin , @Param("end") Integer end);

}
